﻿using System;

namespace RStudio.Elevator
{
    /// <summary>
    /// 事件|队列事件
    /// </summary>
    public class QueueEvent : EventArgs
    {
        /// <summary>
        /// 楼层信息
        /// </summary>
        public DataFloor Data { get; private set; }

        /// <summary>
        /// 任务队列类型
        /// </summary>
        public ElevatorQueueType QueueType { get; private set; }


        public QueueEvent(DataFloor data, ElevatorQueueType queueType)
        {
            Data = data;
            QueueType = queueType;
        }
    }
}
